package com.lmx.repoDomain.tmodel;

import java.util.List;

import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.JsonApiToMany;

/**
 * 用于前端payload保存护理计划
 */
@JsonApiResource(type = "customernursingplan")
public class CustomerNursingPlan extends BaseEntity {

	private List<NursingPlanDetail> details;// 护理计划

	private String remark;

	private Integer yearTab;// 年

	private Integer weekIndex;// 周序号

	private Integer weekTab;// 周几

	private String itemType;// 计划类型 week day

	private String customers;// 老人列表

	public Integer getWeekTab() {
		return weekTab;
	}

	public void setWeekTab(Integer weekTab) {
		this.weekTab = weekTab;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public Integer getYearTab() {
		return yearTab;
	}

	public void setYearTab(Integer yearTab) {
		this.yearTab = yearTab;
	}

	public Integer getWeekIndex() {
		return weekIndex;
	}

	public void setWeekIndex(Integer weekIndex) {
		this.weekIndex = weekIndex;
	}

	public String getCustomers() {
		return customers;
	}

	public void setCustomers(String customers) {
		this.customers = customers;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@JsonApiToMany
	public List<NursingPlanDetail> getDetails() {
		return details;
	}

	public void setDetails(List<NursingPlanDetail> details) {
		this.details = details;
	}

}
